export const dialogLab = [
  {
    type: "input",
    label: "角色名称",
    field: "role_name",
    placeholder: "请输入",
  },
  {
    type: "input",
    label: "角色标题",
    field: "role_title",
    placeholder: "请输入",
  },
  {
    type: "input",
    label: "角色描述",
    field: "role_des",
    placeholder: "请输入",
  },
  {
    type: "input",
    label: "排序",
    field: "role_sort",
    placeholder: "请输入",
  },
  {
    type: "tree",
    label: "菜单",
    field: "menu",
    checkid:'menu_id',
    nodeKey:'menu_id',
    placeholder: "请输入",
    selectdata: JSON.parse(window.localStorage.getItem("user")).menulistAll,
    defaultProps: {
      children: "children",
      label: "name",
    },
  },
];
